<template>
  <div class="wrap">
    <ul class="sex">
      <!--  v-for="(v, i) in arr" :key="i" -->
      <li v-for="(v, i) in arr" :key="i" @click="fun()">
        <img :src="v.imgs" />
        <p>{{ v.titles }}</p>
        <div class="jiao">
          <i class="iconfont icon-bofang2"></i>
          <span>5596万</span>
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  methods: {
    fun() {
      this.$router.push("/sa0");
    },
  },
  props: ["arr"],
};
</script>

<style scoped>
span {
  font-size: 00.2rem;
}
.jiao {
  width: 28%;
  position: absolute;
  top: 0.1rem;
  color: #fff;
  display: flex;
  justify-content: flex-end;
}
.sex {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  margin-top: 0.2rem;
  flex-wrap: wrap;
}
.sex li {
  margin-bottom: 0.2rem;
}

img {
  width: 2.16rem;
  height: 2.16rem;
  margin-bottom: 0.1rem;
  border-radius: 0.2rem;
}
p {
  width: 2.16rem;
}
</style>